<?php 
	/**
	* Application configuration class
	*/
	class Config
	{
		/**
		 * Default language (should coincide with the language folder name) 
		 *
		 * @var string
		*/
		public $default_language = "english"; 

		/**
		 * Default locale 
		 *
		 * @var string
		*/
		public $locale = "en"; 

		/**
		 * Controller loaded by default 
		 *
		 * @var string
		*/
		public $defaultController = "main"; 

		/**
		 * Action loaded by default 
		 *
		 * @var string
		*/
		public $defaultAction = "index"; 

		/**
		 * default action for the urls in grids 
		 *
		 * @var string
		*/
		public $defaultGridAction = "edit"; 

		/**
		 * defines whether to use database or not 
		 *
		 * @var boolean
		*/
		public $use_database = true; 

		/**
		 * defines whether to use stored procedures or not 
		 *
		 * @var boolean
		*/
		public $use_stored_procedures = true; 

		/**
		 * Prefix for the stored procedures 
		 *
		 * @var string
		*/
		public $stored_procedure_prefix = "sp_"; 

		/**
		 * Prefix for the tables 
		 *
		 * @var string
		*/
		public $table_prefix = "t_"; 

		/**
		 * defines whether to use system logger or not 
		 *
		 * @var boolean
		*/
		public $use_system_logger = false; 

		/**
		 * defines whether to use caching by PHP Speedy or not 
		 *
		 * @var boolean
		*/
		public $use_caching = false; 

		/**
		 * defines whether to use table access control or not 
		 *
		 * @var boolean
		*/
		public $use_table_access = false; 

		/**
		 * defines whether to use column access control or not 
		 *
		 * @var boolean
		*/
		public $use_column_permissions = false; 

		/**
		 * defines whether to use row access control or not 
		 *
		 * @var boolean
		*/
		public $use_row_permissions = false; 

		/**
		 * defines whether to use row parent/child access control or not 
		 *
		 * @var boolean
		*/
		public $use_row_parent_child_permissions = false; 

		/**
		 * defines whether to use rights delegations or not 
		 *
		 * @var boolean
		*/
		public $use_delegations = false; 

		/**
		 * defines whether to use logging or not 
		 *
		 * @var boolean
		*/
		public $use_logging = false; 

		/**
		 * defines whether to use logging commentation or not 
		 *
		 * @var boolean
		*/
		public $use_logging_commentation = false; 

        /**
         * @var string application logo
         */
        public $logo = "SpherusPHPFramework.gif";		
		
		/**
		 * defines whether to use Rich Text Area by default or not 
		 *
		 * @var boolean
		*/
		public $use_rta = false; 

		/**
		 * defines whether to drag and drop or not 
		 *
		 * @var boolean
		*/
		public $use_dragndrop = false; 

		/**
		 * Defines whether to use several databases or not 
		 *
		 * @var boolean
		*/
		public $use_several_databases = false; 

		/**
		 * Default database configuration 
		 *
		 * @var array
		*/
		public $db_config_default = array 
		(
			driver => "mssql",
			connect => "mssql_connect",
			host => "172.17.2.5",
			login => "sa",
			password => "Z00big1",
			database => "QA",
		);

	}
?>